package com.zt.ztzx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zt.ztzx.model.entity.product.TFarm;
import com.zt.ztzx.model.vo.common.Result;
import com.zt.ztzx.service.TFarmService;
import com.zt.ztzx.mapper.TFarmMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 16236
* @description 针对表【t_farm】的数据库操作Service实现
* @createDate 2024-09-20 10:03:16
*/
@Service
public class TFarmServiceImpl extends ServiceImpl<TFarmMapper, TFarm>
    implements TFarmService{

    @Override
    public Result<List<TFarm>> selectList() {
        List<TFarm> list = this.list();
        return Result.build(list, 200,"查询成功");
    }
}




